package com.edu.tool.bean.sms;

import com.baomidou.mybatisplus.annotation.TableName;
import com.edu.tool.bean.BaseBean;

import java.util.Date;

@TableName("s_sms_template")
public class SysSmsTemplate extends BaseBean {

    private Boolean enabled;

    private String content;

    private String tplkey;

    private String name;

    private String type;

    private String note;

    private static final long serialVersionUID = 1L;

    public SysSmsTemplate(
                          Integer tenantId,

                          Date createTime,
                          Date updateTime,

                          Boolean enabled,
                          String content,
                          String tplkey,
                          String name,
                          String type,
                          String note) {
        this.tenantId = tenantId;
        this.create_time = createTime;
        this.update_time = updateTime;
        this.enabled = enabled;
        this.content = content;
        this.tplkey = tplkey;
        this.name = name;
        this.type = type;
        this.note = note;
    }

    public SysSmsTemplate() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTenantId() {
        return tenantId;
    }

    public void setTenantId(Integer tenantId) {
        this.tenantId = tenantId;
    }


    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getTplkey() {
        return tplkey;
    }

    public void setTplkey(String tplkey) {
        this.tplkey = tplkey;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note == null ? null : note.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", tenantId=").append(tenantId);
        sb.append(", createTime=").append(create_time);
        sb.append(", updateTime=").append(update_time);
        sb.append(", enabled=").append(enabled);
        sb.append(", content=").append(content);
        sb.append(", tplkey=").append(tplkey);
        sb.append(", name=").append(name);
        sb.append(", type=").append(type);
        sb.append(", note=").append(note);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}